package com.fyy.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Author fyy
 * @Description
 * @Date 2020/5/25 11:31
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class User implements Serializable {

    private Integer id;
    private String username;
    private String pass;

    @Override
    public String toString() {
        return "用户{" +
                "ID：" + id +
                ", 姓名：'" + username + '\'' +
                ", 密码：'" + pass + '\'' +
                '}';
    }
}
